<?php

namespace api\base;

use common\base\BaseController;
use Yii;
use yii\filters\VerbFilter;

class BaseApiController extends BaseController
{

    public function init()
    {
        parent::init();
    }

    /**
     * {@inheritdoc}
     */
    public function behaviors()
    {
        return [
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    //'index' => ['post'],
                ],
            ],
        ];
    }
}